<template>
	<view class="nothing">
		<image :src="" mode="widthFix"></image>
	</view>
</template>

<script>
	/*
	 * nothing 缺省页
	 * @description 用于空白内容
	 * @author MrThinco
	 * @property {Object} src 图片路径
	 */
	export default {
		props:{
			src: {
				type:String,
				default:'/static/img/demo/spring.svg'
			}
		}
	}
</script>

<style lang="scss" scoped>
// 缺省图
.nothing {
	background-color: #FFF;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	image {
		width: 50%;
	}
}
</style>
